Skip to main content

Javascript - Authentication

1

The form asks us to input the username and password.

Let's check the source code by going to More tools > Developer tools > Elements.

2

We can see that the <input> elements have the names pseudo and password.

If we go to the Sources tab we can see the files and resources that are being accessed.

3

Let's check the login.js file.

4

So the script has a conditional statement that allows login if the username is 4dm1n and the password is sh.org.

5

Password

sh.org